package com.tgpms.web.cost.dao;

import java.util.List;

import com.tgpms.web.cost.entity.DetailEstimateItems;
import com.tgpms.web.cost.entity.DetailEstimateItemsKey;

/**
* 表DETAIL_ESTIMATE_ITEMS -> D3010工程概算细项 的基本功能实现
*
* @author newway
* @createDate 2019/08/06
*/
public interface DetailEstimateItemsMapper {
    /**
     * D3010工程概算细项  deleteByPrimaryKey 实现
     * 
     * @param key
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:48:59
     */
    int deleteByPrimaryKey(DetailEstimateItemsKey key);

    /**
     * D3010工程概算细项  insert 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:48:59
     */
    int insert(DetailEstimateItems record);

    /**
     * D3010工程概算细项  insertSelective 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:48:59
     */
    int insertSelective(DetailEstimateItems record);

    /**
     * D3010工程概算细项  selectByPrimaryKey 实现
     * 
     * @param key
     * @return null com.tgpms.web.cost.entity.DetailEstimateItems
     * @author: newway
     * @createDate: 2019-08-06 08:48:59
     */
    DetailEstimateItems selectByPrimaryKey(DetailEstimateItemsKey key);

    /**
     * D3010工程概算细项  updateByPrimaryKeySelective 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:48:59
     */
    int updateByPrimaryKeySelective(DetailEstimateItems record);

    /**
     * D3010工程概算细项  updateByPrimaryKey 实现
     * 
     * @param record
     * @return null int
     * @author: newway
     * @createDate: 2019-08-06 08:48:59
     */
    int updateByPrimaryKey(DetailEstimateItems record);
    
    
    /**
    * @Author newway
    * @Description 通过概算代码查询概算细项信息
    * @Date 2019年8月22日下午5:41:56
    * @Param pcsCode
    * @return List<DetailEstimateItems>
    **/
    List<DetailEstimateItems> findDetailEstimateItemsByCode(String pcsCode);
}